import React from "react";
import { createStore, combineReducers, applyMiddleware } from 'redux'; // react-redux ui组件和容器组件
import thunk from "redux-thunk";

import { tagReducer } from "./tagStore";
import { menuReducer } from "./menuStore";

const reducer = combineReducers({tagReducer,menuReducer})

export const store = createStore(reducer,applyMiddleware(thunk));